package com.teddy.DTXMB.Mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.teddy.DTXMB.Model.Category;

@Repository
public interface CategoryMapper {
	
	Category getCategoryByID(int id);
	List<Category> getAllRootCategory();
	Category getCategoryByName(String name);
}
